export interface Category {
  id?: number | null //可选字段
  name: string
}

export interface SysUser {
  userId: number  //可选字段
  userName: string
  nickName:string
  avatar:string
}

export interface UserInfo {
  user: SysUser
  roles: string[]
  permissions: string[]

}




export interface ApiResponse {
  code: number
  msg: string
  data: any
}




export interface ListApiResponse {
  rows: any
  total: number
  code: number
  msg: string
}

export interface Tree {
    id: number
    label: string
    children?: Tree[]
}

/**
 * 用于流程图的选项配置
 */
export interface BpmnOption {
    value: number
    label: string
    stringValue:string //用于存储非number，为了和后端实体类一致
}

